package com.winning.jsyd.entity.describe;

import javax.xml.bind.annotation.*;
import java.io.Serializable;

/**
 * 请求参数根节点
 *
 * @author z_dd@winning.com.cn
 * @date 2019/4/23 13:46
 */
@XmlRootElement(name = "WebService")
@XmlType(propOrder = {
        "head",
        "request",
        "response"
}, namespace = "")
@XmlSeeAlso({
        HeadEntity.class,
        RequestEntity.class,
        ResponseEntity.class
})
public class WebServiceEntity implements Serializable {

    private HeadEntity head;

    private RequestEntity request;

    private ResponseEntity response;

    public void setRequest(RequestEntity request) {
        this.request = request;
    }

    public RequestEntity getRequest() {
        return request;
    }


    public HeadEntity getHead() {
        return head;
    }


    public void setHead(HeadEntity headEntity) {
        this.head = headEntity;
    }

    public ResponseEntity getResponse() {
        return response;
    }

    public void setResponse(ResponseEntity response) {
        this.response = response;
    }
}
